home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 19
/
CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso
/
CUCD
/
Programming
/
LEDA
/
prog
/
dict
/
d_array2.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-08-05
|
183b
|
17 lines
#include <LEDA/d_array.h>
main()
{
d_array<double,float> N(0);
double s;
while (cin >> s) N[s]++;
forall_defined (s,N) cout << s << " " << N[s] << "\n";
return 0;
}